//
//  MainListNavigationViewController.m
//  KaraList
//
//  Created by Khang Nguyen on 7/26/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "MainListNavigation.h"
#import "MainListViewController.h"

@interface MainListNavigation ()

@end

@implementation MainListNavigation

- (id)init
{
 
        MainListViewController *root = 
        [[MainListViewController alloc] init];
        
        if (self = [super initWithRootViewController:root]) 
        {
//            CustomTabBarItem *tabItem = [[CustomTabBarItem alloc] initWithTitle:nil image:nil tag:4];
//            tabItem.customHighlightedImage = [UIImage imageFromBundleResource:@"navi_category_over.png"];
//            tabItem.customStdImage = [UIImage imageFromBundleResource:@"navi_category.png"];
//            self.tabBarItem = tabItem;
//            
//            [tabItem release];
//            tabItem = nil;
            self.tabBarItem.image = [UIImage imageNamed:@"first"];
            self.tabBarItem.title = @"Search";
        }
        [root release];
        return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
